# ResultCode values and ResultMessage messages

The following table shows the possible ResultCode values and the associated ResultMessage messages.

ResultCode values | ResultMessage messages
0x00000000 (Hex) 0 (Dec) | "Success"
0x00000002 (Hex) 2 (Dec) | "Internal error, cannot access security component."
0x00000003 (Hex) 3 (Dec) | "Password and Confirmation password do not match."
0x00000004 (Hex) 4 (Dec) | "Internal error, failed to initialize security component!"
0x00000005 (Hex) 5 (Dec) | "Internal error, cannot update MER File with new password."
0x80049024 (Hex) -2147184604 (Dec) | "User %s credentials are incorrect." %s is replaced with specified user account.
0x80049010 (Hex) -2147184624 (Dec) | "User %s account has been disabled." %s is replaced with specified user account.
0x80049019 (Hex) -2147184615 (Dec) | "Password cannot exceed %d characters." %d is read from FactoryTalk Security policy.
0x8004901A (Hex) -2147184614 (Dec) | "The password cannot be changed." FactoryTalk Security policy is preventing the operation from succeeding.
0x8004901B (Hex) -2147184613 (Dec) | "Password must be active for over %d days before it can be changed." %d is read from FactoryTalk Security policy settings.
0x8004901C (Hex) -2147184612 (Dec) | "The password has already been used." FactoryTalk Security policy is preventing the operation from succeeding.
0x8004901D (Hex) -2147184611 (Dec) | "Password must be at more than %d characters long." %d is read from FactoryTalk Security policy settings.
0x8004901E (Hex) -2147184610 (Dec) | "Password does not meet complexity requirements." FactoryTalk Security policy is preventing the operation from succeeding.
0x80049027 (Hex) -2147184601 (Dec) | "Windows-Linked user account password can only be changed in Windows."
0x80049003 (Hex) -2147184637 (Dec) | "Password cannot be changed. Access denied." FactoryTalk Security is preventing the operation from succeeding.

## See also

ResetPassword ActiveX control

Connections for the ResetPassword ActiveX control